﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;

namespace PuzzleMaker
{
    public class CollisionBox
    {
        private Rectangle bounds;
        private string name;
        private string tag;
        private bool canGrappleAttach = true;

        public override string ToString()
        {
            return name;
        }

        public int X
        {
            get { return bounds.X; }
            set { bounds.X = value; }
        }
        public int Y
        {
            get { return bounds.Y; }
            set { bounds.Y = value; }
        }
        public int Width
        {
            get { return bounds.Width; }
            set { bounds.Width = value; }
        }
        public int Height
        {
            get { return bounds.Height; }
            set { bounds.Height = value; }
        }
        public Rectangle Bounds()
        {
            return bounds;
        }
        public string Tag
        {
            get { return tag; }
            set { tag = value; }
        }
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        public bool CanGrappleAttach
        {
            get { return canGrappleAttach; }
            set { canGrappleAttach = value; }
        }
    }
}
